package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.ShoppingCart;
import com.itheima.result.R;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @Author: 斌
 * @DateTime: 2023年02月10日  21:14:12
 * @Description: com.itheima.service
 * @Version: 1.0
 */
@Transactional
public interface ShoppingCartService extends IService<ShoppingCart> {
    R shopCartList(HttpSession session);

    R addCart(ShoppingCart shoppingCart,HttpSession session);



    R removeCart(ShoppingCart shoppingCart, HttpSession session);

    R deleteCart();
}
